import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/home'

Vue.use(Router)

export default new Router({
  routes: [
    //锅炉管理系统
    {
      path: '/',
      name: '锅炉', //一级菜单名称  报警日志
      component: Home,
      number: 10006, //区块编号
      icon: 'el-icon-bell', //一级菜单名称
      hidden: false, //是否显示
      children: [
        { 
          path: '/report/ReportGeneration',
          component: (resolve) => require(['@/views/first/ceshi.vue'], resolve),
          hidden: false, //是否显示
          name: '报表管理', //二级菜单名称  报警信息查询
          icon: 'el-icon-document' //二级菜单图标 
        },    
      ]
    },
  ]
})
